package com.hyt.it.ogt.data.model.vo.kwgov;

import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @author 刘恒活
 * @since 2021/12/1 14:27
 */
@Data
@Builder
@Accessors(chain = true)
public class TestClassifyVO implements Serializable {
    public static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "父id")
    private String parentId;

    @ApiModelProperty(value = "父名称")
    private String parentName;

    @ApiModelProperty(value = "级别：0级别为最高级")
    private Integer categorylevel;

    @ApiModelProperty(value = "创建日期")
    private String createDate;

    @ApiModelProperty(value = "子级别")
    private List<TestClassifyVO> children;

	public TestClassifyVO(String id, String name, String parentId, String parentName, Integer categorylevel, String createDate, List<TestClassifyVO> children) {
		super();
		this.id = id;
		this.name = name;
		this.parentId = parentId;
		this.parentName = parentName;
		this.categorylevel = categorylevel;
		this.createDate = createDate;
		this.children = children;
	}
}
